package com.ddtech.business.train.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ddtech.business.train.entity.TrainRecord;
import com.ddtech.business.train.query.TrainRecordQuery;

/**
 * @version v1.0
 * @ClassName:TrainRecordService description：
 * @author:wei_zhang(xiao)
 * @date: 2024-11-24 15:43
 */

public interface TrainRecordService  extends IService<TrainRecord> {

    /***
     * description:保存训练记录
     * @param:  * @param trainProcess
     * @date: 2024-11-24
     * @return: void
     * @version v1.0
     * @author:wei_zhang(xiao)
     */
    JSONObject create(TrainRecord trainRecord);

    /***
     * description: 获取训练记录
     * @param:  * @param trainProcessQuery
     * @date: 2024-11-24
     * @return: java.lang.Object
     * @version v1.0
     * @author:wei_zhang(xiao)
     */
    Object getData(TrainRecordQuery trainRecordQuery);


    /**
     * 报表查询
     *
     * @param trainRecordQuery
     * @return
     */
    Object getReport(TrainRecordQuery trainRecordQuery);
}
